package com.yuke.cloud.service.pmc.service;

import com.yuke.cloud.service.pmc.entity.ProdSpecPicture;
import com.yuke.cloud.common.core.support.IService;
import org.springframework.web.multipart.MultipartFile;

import java.nio.file.Path;
import java.util.List;


/**
 * Created by zys on 2018/09/27.
 */
public interface ProdSpecPictureService extends IService<ProdSpecPicture> {

//    /**
//     * 根据商品照片资源，获取其类目id
//     * @param prodSpecPicture 商品照片资源类
//     * @return String
//     */
//    String getCategory(ProdSpecPicture prodSpecPicture);

    List<ProdSpecPicture> getProdSpecPicBySpecIds(List<Long> specIds);

    int deleteBySpecIds(List<Long> specIds);
    void deleteFromFastDFS(List<ProdSpecPicture> prodSpecPictures);
}
